﻿angular.module('resources.permissionProxy', []);
angular.module('resources.permissionProxy').factory('permissionProxy', ['rresource', function (rresource) {
    var factory = rresource('permission');
    factory.getCurrentUser = function (code, successcb, failedcb) {
        return factory.queryObject({ 'dummy': code }, successcb, failedcb);

    };

    return factory;
} ]);
